package br.com.projeto.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Numeros implements Serializable {

	private static final long serialVersionUID = 1L;

	private List<String> numeros;

	public List<String> getNumeros() {
		return numeros;
	}

	public void setNumeros(List<String> numeros) {
		this.numeros = numeros;
	}

	public void createList(String numbers) {
		numeros = new ArrayList<String>();
		numbers.replace("[", "").replace("]", "").replace(",", "");
		this.numeros.add(numbers.substring(0, 2));
		this.numeros.add(numbers.substring(3, 5));
		this.numeros.add(numbers.substring(6, 8));
		this.numeros.add(numbers.substring(9, 11));
		this.numeros.add(numbers.substring(12, 14));
		this.numeros.add(numbers.substring(15, 17));
	}
}
